package com.ruoyi.test_tree.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 系统树形字典对象 sys_tree_dict
 * 
 * @author ruoyi
 * @date 2025-08-21
 */
public class SysTreeDict extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 字典ID */
    private Long dictId;

    /** 字典名称/标签 */
    @Excel(name = "字典名称/标签")
    private String dictName;

    /** 字典项值 */
    @Excel(name = "字典项值")
    private String dictValue;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 节点类型 */
    private Long nodeType;

    public void setDictId(Long dictId) 
    {
        this.dictId = dictId;
    }

    public Long getDictId() 
    {
        return dictId;
    }

    public void setDictName(String dictName) 
    {
        this.dictName = dictName;
    }

    public String getDictName() 
    {
        return dictName;
    }

    public void setDictValue(String dictValue) 
    {
        this.dictValue = dictValue;
    }

    public String getDictValue() 
    {
        return dictValue;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setNodeType(Long nodeType) 
    {
        this.nodeType = nodeType;
    }

    public Long getNodeType() 
    {
        return nodeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dictId", getDictId())
            .append("dictName", getDictName())
            .append("parentId", getParentId())
            .append("orderNum", getOrderNum())
            .append("dictValue", getDictValue())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("nodeType", getNodeType())
            .toString();
    }
}
